package com.hlyj.http.base.tool.lib_hlyj_base

import com.hlyj.http.base.tool.lib_hlyj_base.camera.LoginResultBean
import com.hlyj.http.base.tool.lib_hlyj_base.camera.UserInfoResultBean

object Constants {
    //渠道对应字段CHANNEL_ID ：荣耀：honor;百度:baidu;OPPO:oppo;VIVO:vivo;小米:xiaomi;华为:huawei,应用宝：yingyongbao
    const val BASE_URL = "https://tools.hnyynet.com.cn/"
    const val xianshang_uri="https://tools.hnyynet.com.cn/"

    const val SESSIONID: String = "SESSIONID"
    const val LOCAL_BASE_URL_APP="http://113.246.85.66:9082/"
    const val LOCAL_BASE_URL_LOG="http://192.168.124.109:8080/"
    const val localuri="http://476815xc06.qicp.vip/"
    const val PRIVACYID="privacyId" //隱私Id
    const val CHANNEL_ID: String = "vivo"
    const val initSwitchResultBean: String = "initSwitchResultBean"
    const val LoginResultBean:String="loginResultBean"
    const val UserInfoResultBean:String="usetInfoResult"
    const val  NATIVEADSWITCH:String="nativeAdSwitch";//本地广告开关 是否开启 0 关1 开
    const val  NATIVEPRIVACYSWITCH:String="nativePrivacySwitch";//本地隐私开关 是否开启 0 不合规1 合规
    const val  isBlacklist:String="isBlacklist";//是否黑名单 非黑名单0 广告开关黑名单1 oaid黑名单2 ip黑名单3
    const val OAID:String = "oaid"
    //日志上报
    //产品日志
    const val START:String = "A0101";//启动
    const val REGISTER:String = "A0105";//注册
  //广告日志
    const val TRIGGER:String = "B0101";//触发 请求{adformat:广告位类型 placementid：gromore的广告位ID adsourceid：代码位ID showid：曝光ID ecpm ocode：自定义的广告位置(广告位)}
    const val SHOW:String = "B0102";//展现
    const val CLICK:String = "B0103";//点击
    const val CLOSE :String = "B0106";//广告关闭
    const val LOAD  :String= "B0104";//广告加载成功
    const val REWARD_ARRIVED:String="B0107"
    const val FAIL:String = "B0105";//失败 广告错误日志，data.msg要填充异常信息
    const val SDK_INIT_FAIL:String = "B9901";//失败 广告错误日志，data.msg要填充异常信息
//广告日志上报对象key
    const val ADFORMAT:String = "adformat";//广告位类型
    const val PLACEMENTID:String = "placementid";//gromore的广告位ID
    const val ADSOURCEID:String = "adsourceid";//代码位ID
    const val SHOWID:String = "showid";//曝光ID由SDK生成
    const val ECPM:String = "ecpm";//ecpm
    const val OCCODE:String = "ocode";//自定义的广告位置(放广告的位置)
    const val TIME="time";
    const val DATA="data"; //需要json格式

    const val SPLASH="splash"

    //定义日志上报默认字段
    const val TYPE="type"
    const val SEQ:String = "seq";//序列
    const val HARDWAREINFO="hardwareinfo"

    //二维码阿里云接口地址:https://jisutxmcx.market.alicloudapi.com/barcode2/query
    const val BASE_URL_QRCODE = "https://jisutxmcx.market.alicloudapi.com/"
    const val BASE_URL_WEATHER = "http://gfeljm.tianqiapi.com/"
    const val BASE_URL_CANLENDAR = "https://www.mxnzp.com/api/"
}